import axios from '../services/axios'

export const useRegisterService = ({ username, userid, password }) =>
  axios.post('/register', { username, userid, password })

export const useLoginService = ({ userid, password }) =>
  axios.post('/userInfo', { userid, password })
